package com.seari.service.Impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.seari.entity.EtDispose;
import com.seari.entity.EtInformation;
import com.seari.entity.EtMaintainRecord;
import com.seari.entity.EtPatrolPlan;
import com.seari.mapper.EquipmentMapper;
import com.seari.service.EquipmentService;
@Service
public class EquipmentServiceImpl implements EquipmentService {
	
	@Autowired
	private EquipmentMapper equipmentMapper;

	@Override
	public List<EtInformation> getEtInformation(String etCode) {
		// TODO Auto-generated method stub
		return equipmentMapper.getEtInformation(etCode);
	}

	@Override
	public List<EtMaintainRecord> getEtMaintainRecordMsg(String etCode) {
		// TODO Auto-generated method stub
		return equipmentMapper.getEtMaintainRecordMsg(etCode);
	}

	@Override
	public List<EtDispose> getDeviceDispose(String etCode, String faultContent) {
		// TODO Auto-generated method stub
		return equipmentMapper.getDeviceDispose(etCode,faultContent);
	}

	@Override
	public List<EtPatrolPlan> getEtPatrolPlan(String etCode) {
		// TODO Auto-generated method stub
		return equipmentMapper.getEtPatrolPlan(etCode);
	}

}
